package com.gticket.customerbackend.service;

import com.gticket.customerbackend.pojo.CinemaCode;
import com.gticket.customerbackend.pojo.CinemaHall;
import com.gticket.customerbackend.pojo.CinemaOriginalSeats;
import com.gticket.customerbackend.pojo.Cinemas;

import java.util.List;

public interface ConsoleService {
    public List<Cinemas> getAllCinemas(CinemaCode CinemaCode);

    public List<CinemaHall> getCinemaHallByCid(CinemaCode CinemaCode, int cinema_id);

    public CinemaOriginalSeats getCinemaOrignalSeats(CinemaCode cinemaCode, int os_id);

    public void updateSeats(CinemaCode cinemaCode, int os_id, int row_id, String row_cnt);

    public void updateCapacity(CinemaCode cinemaCode, int os_id, int ch_capacity);

    public boolean createNewSeats(CinemaCode cinemaCode, int cinema_id,int ch_id);

    public int getOs_idByCh_id(CinemaCode cinemaCode, int ch_id);

    public void connectOS2CH(CinemaCode cinemaCode, int os_id, int ch_id);

    public boolean createNewCinemaHall(CinemaCode cinemaCode, String ch_name, int cinema_id);

    public boolean createNewCinema(CinemaCode cinemaCode, String cinema_name, int company_id, String cinema_address);

    public int getCinema_idBCh_id(CinemaCode cinemaCode,int ch_id);
}
